﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Masapan_shop.Models
{
     [Table("Productos")]
    public class Producto
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }
        public List<Producto> productos { get; set; }
        public string nombre { get; set; }
        public string modelo { get; set; }
        public virtual Marca marca { get; set; }
        public double precio { get; set; }
        public string foto { get; set; }
        public string descripcion { get; set; }
        
    }
    
}